<?php
$tdatapacking_lists_Chart=array();
	$tdatapacking_lists_Chart[".NumberOfChars"]=80; 
	$tdatapacking_lists_Chart[".ShortName"]="packing_lists_Chart";
	$tdatapacking_lists_Chart[".OwnerID"]="";
	$tdatapacking_lists_Chart[".OriginalTable"]="packing_lists";


	
//	field labels
$fieldLabelspacking_lists_Chart = array();
if(mlang_getcurrentlang()=="English")
{
	$fieldLabelspacking_lists_Chart["English"]=array();
	$fieldToolTipspacking_lists_Chart["English"]=array();
	$fieldLabelspacking_lists_Chart["English"]["id"] = "Id";
	$fieldToolTipspacking_lists_Chart["English"]["id"] = "";
	$fieldLabelspacking_lists_Chart["English"]["place"] = "Place";
	$fieldToolTipspacking_lists_Chart["English"]["place"] = "";
	$fieldLabelspacking_lists_Chart["English"]["shipment_date"] = "Shipment Date";
	$fieldToolTipspacking_lists_Chart["English"]["shipment_date"] = "";
	$fieldLabelspacking_lists_Chart["English"]["buyer_id"] = "Buyer";
	$fieldToolTipspacking_lists_Chart["English"]["buyer_id"] = "";
	$fieldLabelspacking_lists_Chart["English"]["name"] = "Name";
	$fieldToolTipspacking_lists_Chart["English"]["name"] = "";
	$fieldLabelspacking_lists_Chart["English"]["order_no"] = "Order No";
	$fieldToolTipspacking_lists_Chart["English"]["order_no"] = "";
	$fieldLabelspacking_lists_Chart["English"]["consignee_id"] = "Consignee";
	$fieldToolTipspacking_lists_Chart["English"]["consignee_id"] = "";
	$fieldLabelspacking_lists_Chart["English"]["shipment_pack_details"] = "Shipment Pack Details";
	$fieldToolTipspacking_lists_Chart["English"]["shipment_pack_details"] = "";
	$fieldLabelspacking_lists_Chart["English"]["marks"] = "Marks";
	$fieldToolTipspacking_lists_Chart["English"]["marks"] = "";
	$fieldLabelspacking_lists_Chart["English"][""] = "";
	$fieldToolTipspacking_lists_Chart["English"][""] = "";
	$fieldLabelspacking_lists_Chart["English"][""] = "Packing Lists Chart";
	$fieldToolTipspacking_lists_Chart["English"][""] = "";
	$fieldLabelspacking_lists_Chart["English"][""] = "";
	$fieldToolTipspacking_lists_Chart["English"][""] = "";
	$fieldLabelspacking_lists_Chart["English"][""] = "Packing Lists Chart";
	$fieldToolTipspacking_lists_Chart["English"][""] = "";
	$fieldLabelspacking_lists_Chart["English"][""] = "";
	$fieldToolTipspacking_lists_Chart["English"][""] = "";
	$fieldLabelspacking_lists_Chart["English"][""] = "";
	$fieldToolTipspacking_lists_Chart["English"][""] = "";
	$fieldLabelspacking_lists_Chart["English"]["ref_id"] = "Ref Id";
	$fieldToolTipspacking_lists_Chart["English"]["ref_id"] = "";
	if (count($fieldToolTipspacking_lists_Chart["English"])){
		$tdatapacking_lists_Chart[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="Chinese (Hong Kong S.A.R.)")
{
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]=array();
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]=array();
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["id"] = "Id";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["id"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["place"] = "Place";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["place"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["shipment_date"] = "Shipment Date";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["shipment_date"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["buyer_id"] = "Buyer Id";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["buyer_id"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["name"] = "Name";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["name"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["order_no"] = "Order No";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["order_no"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["consignee_id"] = "Consignee Id";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["consignee_id"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["shipment_pack_details"] = "Shipment Pack Details";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["shipment_pack_details"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["marks"] = "Marks";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["marks"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"][""] = "";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"][""] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"][""] = "Packing Lists Chart";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"][""] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"][""] = "";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"][""] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"][""] = "Packing Lists Chart";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"][""] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"][""] = "";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"][""] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"][""] = "";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"][""] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["ref_id"] = "Ref Id";
	$fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"]["ref_id"] = "";
	if (count($fieldToolTipspacking_lists_Chart["Chinese (Hong Kong S.A.R.)"])){
		$tdatapacking_lists_Chart[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="Chinese (Taiwan)")
{
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"]=array();
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"]=array();
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"]["id"] = "Id";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"]["id"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"]["place"] = "Place";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"]["place"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"]["shipment_date"] = "Shipment Date";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"]["shipment_date"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"]["buyer_id"] = "Buyer Id";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"]["buyer_id"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"]["name"] = "Name";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"]["name"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"]["order_no"] = "Order No";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"]["order_no"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"]["consignee_id"] = "Consignee Id";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"]["consignee_id"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"]["shipment_pack_details"] = "Shipment Pack Details";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"]["shipment_pack_details"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"]["marks"] = "Marks";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"]["marks"] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"][""] = "";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"][""] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"][""] = "Packing Lists Chart";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"][""] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"][""] = "";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"][""] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"][""] = "Packing Lists Chart";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"][""] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"][""] = "";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"][""] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"][""] = "";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"][""] = "";
	$fieldLabelspacking_lists_Chart["Chinese (Taiwan)"]["ref_id"] = "Ref Id";
	$fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"]["ref_id"] = "";
	if (count($fieldToolTipspacking_lists_Chart["Chinese (Taiwan)"])){
		$tdatapacking_lists_Chart[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="French")
{
	$fieldLabelspacking_lists_Chart["French"]=array();
	$fieldToolTipspacking_lists_Chart["French"]=array();
	$fieldLabelspacking_lists_Chart["French"]["id"] = "Id";
	$fieldToolTipspacking_lists_Chart["French"]["id"] = "";
	$fieldLabelspacking_lists_Chart["French"]["place"] = "Place";
	$fieldToolTipspacking_lists_Chart["French"]["place"] = "";
	$fieldLabelspacking_lists_Chart["French"]["shipment_date"] = "Shipment Date";
	$fieldToolTipspacking_lists_Chart["French"]["shipment_date"] = "";
	$fieldLabelspacking_lists_Chart["French"]["buyer_id"] = "Buyer Id";
	$fieldToolTipspacking_lists_Chart["French"]["buyer_id"] = "";
	$fieldLabelspacking_lists_Chart["French"]["name"] = "Name";
	$fieldToolTipspacking_lists_Chart["French"]["name"] = "";
	$fieldLabelspacking_lists_Chart["French"]["order_no"] = "Order No";
	$fieldToolTipspacking_lists_Chart["French"]["order_no"] = "";
	$fieldLabelspacking_lists_Chart["French"]["consignee_id"] = "Consignee Id";
	$fieldToolTipspacking_lists_Chart["French"]["consignee_id"] = "";
	$fieldLabelspacking_lists_Chart["French"]["shipment_pack_details"] = "Shipment Pack Details";
	$fieldToolTipspacking_lists_Chart["French"]["shipment_pack_details"] = "";
	$fieldLabelspacking_lists_Chart["French"]["marks"] = "Marks";
	$fieldToolTipspacking_lists_Chart["French"]["marks"] = "";
	$fieldLabelspacking_lists_Chart["French"]["ref_id"] = "Ref Id";
	$fieldToolTipspacking_lists_Chart["French"]["ref_id"] = "";
	if (count($fieldToolTipspacking_lists_Chart["French"])){
		$tdatapacking_lists_Chart[".isUseToolTips"]=true;
	}
}


	
	$tdatapacking_lists_Chart[".NCSearch"]=true;

	
	$tdatapacking_lists_Chart[".ChartRefreshTime"] = 0;

$tdatapacking_lists_Chart[".shortTableName"] = "packing_lists_Chart";
$tdatapacking_lists_Chart[".nSecOptions"] = 0;
$tdatapacking_lists_Chart[".recsPerRowList"] = 1;	
$tdatapacking_lists_Chart[".tableGroupBy"] = "0";
$tdatapacking_lists_Chart[".mainTableOwnerID"] = "";
$tdatapacking_lists_Chart[".moveNext"] = 1;




$tdatapacking_lists_Chart[".showAddInPopup"] = false;

$tdatapacking_lists_Chart[".showEditInPopup"] = false;

$tdatapacking_lists_Chart[".showViewInPopup"] = false;


$tdatapacking_lists_Chart[".fieldsForRegister"] = array();

$tdatapacking_lists_Chart[".listAjax"] = false;

	$tdatapacking_lists_Chart[".audit"] = false;

	$tdatapacking_lists_Chart[".locking"] = false;
	
$tdatapacking_lists_Chart[".listIcons"] = true;
$tdatapacking_lists_Chart[".edit"] = true;
$tdatapacking_lists_Chart[".inlineEdit"] = true;
$tdatapacking_lists_Chart[".view"] = true;



$tdatapacking_lists_Chart[".delete"] = true;

$tdatapacking_lists_Chart[".showSimpleSearchOptions"] = false;

$tdatapacking_lists_Chart[".showSearchPanel"] = true;


$tdatapacking_lists_Chart[".isUseAjaxSuggest"] = true;



// button handlers file names

$tdatapacking_lists_Chart[".addPageEvents"] = false;

$tdatapacking_lists_Chart[".arrKeyFields"][] = "id";

// use datepicker for search panel
$tdatapacking_lists_Chart[".isUseCalendarForSearch"] = true;

// use timepicker for search panel
$tdatapacking_lists_Chart[".isUseTimeForSearch"] = false;

$tdatapacking_lists_Chart[".isUseiBox"] = false;



$tdatapacking_lists_Chart[".isUseInlineJs"] = $tdatapacking_lists_Chart[".isUseInlineAdd"] || $tdatapacking_lists_Chart[".isUseInlineEdit"];

$tdatapacking_lists_Chart[".allSearchFields"] = array();

$tdatapacking_lists_Chart[".globSearchFields"][] = "id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("id", $tdatapacking_lists_Chart[".allSearchFields"]))
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "id";	
}
$tdatapacking_lists_Chart[".globSearchFields"][] = "place";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("place", $tdatapacking_lists_Chart[".allSearchFields"]))
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "place";	
}
$tdatapacking_lists_Chart[".globSearchFields"][] = "shipment_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("shipment_date", $tdatapacking_lists_Chart[".allSearchFields"]))
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "shipment_date";	
}
$tdatapacking_lists_Chart[".globSearchFields"][] = "buyer_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("buyer_id", $tdatapacking_lists_Chart[".allSearchFields"]))
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "buyer_id";	
}
$tdatapacking_lists_Chart[".globSearchFields"][] = "name";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("name", $tdatapacking_lists_Chart[".allSearchFields"]))
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "name";	
}
$tdatapacking_lists_Chart[".globSearchFields"][] = "order_no";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("order_no", $tdatapacking_lists_Chart[".allSearchFields"]))
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "order_no";	
}
$tdatapacking_lists_Chart[".globSearchFields"][] = "consignee_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("consignee_id", $tdatapacking_lists_Chart[".allSearchFields"]))
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "consignee_id";	
}
$tdatapacking_lists_Chart[".globSearchFields"][] = "shipment_pack_details";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("shipment_pack_details", $tdatapacking_lists_Chart[".allSearchFields"]))
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "shipment_pack_details";	
}
$tdatapacking_lists_Chart[".globSearchFields"][] = "marks";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("marks", $tdatapacking_lists_Chart[".allSearchFields"]))
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "marks";	
}
$tdatapacking_lists_Chart[".globSearchFields"][] = "ref_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("ref_id", $tdatapacking_lists_Chart[".allSearchFields"]))
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "ref_id";	
}


$tdatapacking_lists_Chart[".googleLikeFields"][] = "id";
$tdatapacking_lists_Chart[".googleLikeFields"][] = "place";
$tdatapacking_lists_Chart[".googleLikeFields"][] = "shipment_date";
$tdatapacking_lists_Chart[".googleLikeFields"][] = "buyer_id";
$tdatapacking_lists_Chart[".googleLikeFields"][] = "name";
$tdatapacking_lists_Chart[".googleLikeFields"][] = "order_no";
$tdatapacking_lists_Chart[".googleLikeFields"][] = "consignee_id";
$tdatapacking_lists_Chart[".googleLikeFields"][] = "shipment_pack_details";
$tdatapacking_lists_Chart[".googleLikeFields"][] = "marks";
$tdatapacking_lists_Chart[".googleLikeFields"][] = "ref_id";



$tdatapacking_lists_Chart[".advSearchFields"][] = "id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("id", $tdatapacking_lists_Chart[".allSearchFields"])) 
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "id";	
}
$tdatapacking_lists_Chart[".advSearchFields"][] = "place";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("place", $tdatapacking_lists_Chart[".allSearchFields"])) 
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "place";	
}
$tdatapacking_lists_Chart[".advSearchFields"][] = "shipment_date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("shipment_date", $tdatapacking_lists_Chart[".allSearchFields"])) 
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "shipment_date";	
}
$tdatapacking_lists_Chart[".advSearchFields"][] = "buyer_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("buyer_id", $tdatapacking_lists_Chart[".allSearchFields"])) 
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "buyer_id";	
}
$tdatapacking_lists_Chart[".advSearchFields"][] = "name";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("name", $tdatapacking_lists_Chart[".allSearchFields"])) 
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "name";	
}
$tdatapacking_lists_Chart[".advSearchFields"][] = "order_no";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("order_no", $tdatapacking_lists_Chart[".allSearchFields"])) 
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "order_no";	
}
$tdatapacking_lists_Chart[".advSearchFields"][] = "consignee_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("consignee_id", $tdatapacking_lists_Chart[".allSearchFields"])) 
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "consignee_id";	
}
$tdatapacking_lists_Chart[".advSearchFields"][] = "shipment_pack_details";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("shipment_pack_details", $tdatapacking_lists_Chart[".allSearchFields"])) 
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "shipment_pack_details";	
}
$tdatapacking_lists_Chart[".advSearchFields"][] = "marks";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("marks", $tdatapacking_lists_Chart[".allSearchFields"])) 
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "marks";	
}
$tdatapacking_lists_Chart[".advSearchFields"][] = "ref_id";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("ref_id", $tdatapacking_lists_Chart[".allSearchFields"])) 
{
	$tdatapacking_lists_Chart[".allSearchFields"][] = "ref_id";	
}

$tdatapacking_lists_Chart[".isTableType"] = "chart";


	

$tdatapacking_lists_Chart[".isDisplayLoading"] = true;

$tdatapacking_lists_Chart[".isResizeColumns"] = false;




$gstrOrderBy = "";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy = "order by ".$gstrOrderBy;
$tdatapacking_lists_Chart[".strOrderBy"] = $gstrOrderBy;
	
$tdatapacking_lists_Chart[".orderindexes"] = array();

$tdatapacking_lists_Chart[".sqlHead"] = "SELECT id,   place,   shipment_date,   buyer_id,   name,   order_no,   consignee_id,   shipment_pack_details,   marks,   ref_id";
$tdatapacking_lists_Chart[".sqlFrom"] = "FROM packing_lists";
$tdatapacking_lists_Chart[".sqlWhereExpr"] = "";
$tdatapacking_lists_Chart[".sqlTail"] = "";




//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdatapacking_lists_Chart[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdatapacking_lists_Chart[".arrGroupsPerPage"] = $arrGPP;

	$tableKeys = array();
	$tableKeys[] = "id";
	$tdatapacking_lists_Chart[".Keys"] = $tableKeys;

//	id
	$fdata = array();
	$fdata["strName"] = "id";
	$fdata["ownerTable"] = "packing_lists";
		$fdata["Label"]="Id"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		$fdata["AutoInc"]=true;
	
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "id";
	
		$fdata["FullName"]= "id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 1;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdatapacking_lists_Chart["id"]=$fdata;
//	place
	$fdata = array();
	$fdata["strName"] = "place";
	$fdata["ownerTable"] = "packing_lists";
		$fdata["Label"]="Place"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "place";
	
		$fdata["FullName"]= "place";
	
		
		
		
		
		
				$fdata["Index"]= 2;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdatapacking_lists_Chart["place"]=$fdata;
//	shipment_date
	$fdata = array();
	$fdata["strName"] = "shipment_date";
	$fdata["ownerTable"] = "packing_lists";
		$fdata["Label"]="Shipment Date"; 
	
		
		
	$fdata["FieldType"]= 7;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Date";
	$fdata["ViewFormat"]= "Short Date";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "shipment_date";
	
		$fdata["FullName"]= "shipment_date";
	
		
		
		
		
		
				$fdata["Index"]= 3;
		$fdata["DateEditType"] = 13; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdatapacking_lists_Chart["shipment_date"]=$fdata;
//	buyer_id
	$fdata = array();
	$fdata["strName"] = "buyer_id";
	$fdata["ownerTable"] = "packing_lists";
		$fdata["Label"]="Buyer"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "buyer_id";
	
		$fdata["FullName"]= "buyer_id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 4;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdatapacking_lists_Chart["buyer_id"]=$fdata;
//	name
	$fdata = array();
	$fdata["strName"] = "name";
	$fdata["ownerTable"] = "packing_lists";
		$fdata["Label"]="Name"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "name";
	
		$fdata["FullName"]= "name";
	
		
		
		
		
		
				$fdata["Index"]= 5;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdatapacking_lists_Chart["name"]=$fdata;
//	order_no
	$fdata = array();
	$fdata["strName"] = "order_no";
	$fdata["ownerTable"] = "packing_lists";
		$fdata["Label"]="Order No"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "order_no";
	
		$fdata["FullName"]= "order_no";
	
		
		
		
		
		
				$fdata["Index"]= 6;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdatapacking_lists_Chart["order_no"]=$fdata;
//	consignee_id
	$fdata = array();
	$fdata["strName"] = "consignee_id";
	$fdata["ownerTable"] = "packing_lists";
		$fdata["Label"]="Consignee"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "consignee_id";
	
		$fdata["FullName"]= "consignee_id";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 7;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdatapacking_lists_Chart["consignee_id"]=$fdata;
//	shipment_pack_details
	$fdata = array();
	$fdata["strName"] = "shipment_pack_details";
	$fdata["ownerTable"] = "packing_lists";
		$fdata["Label"]="Shipment Pack Details"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "shipment_pack_details";
	
		$fdata["FullName"]= "shipment_pack_details";
	
		
		
		
		
		
				$fdata["Index"]= 8;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=255";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdatapacking_lists_Chart["shipment_pack_details"]=$fdata;
//	marks
	$fdata = array();
	$fdata["strName"] = "marks";
	$fdata["ownerTable"] = "packing_lists";
		$fdata["Label"]="Marks"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "marks";
	
		$fdata["FullName"]= "marks";
	
		
		
		
		
		
				$fdata["Index"]= 9;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=255";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdatapacking_lists_Chart["marks"]=$fdata;
//	ref_id
	$fdata = array();
	$fdata["strName"] = "ref_id";
	$fdata["ownerTable"] = "packing_lists";
		$fdata["Label"]="Ref Id"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "ref_id";
	
		$fdata["FullName"]= "ref_id";
	
		
		
		
		
		
				$fdata["Index"]= 10;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
		
		
		
		
			$tdatapacking_lists_Chart["ref_id"]=$fdata;

$tdatapacking_lists_Chart[".chartXml"] = '<chart>
<attr value="tables">
	<attr value="0">packing_lists Chart</attr>
</attr>
<attr value="chart_type">
	<attr value="type">2d_column</attr>
</attr>

<attr value="parameters">
<attr value="0">
<attr value="name">buyer_id</attr>
<attr value="currencyFormat">0</attr>
<attr value="decimalFormat">2</attr>
<attr value="customFormat">0</attr>
<attr value="customFormatStr"></attr>
</attr>
<attr value="1">
<attr value="name">place</attr>
</attr>
</attr>


<attr value="appearance">
	<attr value="scolor11">FF0000</attr>
	<attr value="scolor12">FF0000</attr>

<attr value="head">'.xmlencode("Chart Title").'</attr>
<attr value="foot">'.xmlencode("Legend Title").'</attr>

<attr value="color51">49563A</attr>
<attr value="color52">49563A</attr>
<attr value="color61">49563A</attr>
<attr value="color62">49563A</attr>
<attr value="color71">C7CDC1</attr>
<attr value="color72">C7CDC1</attr>
<attr value="color81">ECF0E8</attr>
<attr value="color82">ECF0E8</attr>
<attr value="color91">68838B</attr>
<attr value="color92">68838B</attr>
<attr value="color101">48505A</attr>
<attr value="color102">48505A</attr>
<attr value="color111">45595F</attr>
<attr value="color112">45595F</attr>
<attr value="color121"></attr>
<attr value="color122"></attr>
<attr value="color131"></attr>
<attr value="color132"></attr>
<attr value="color141"></attr>
<attr value="color142"></attr>

<attr value="slegend">true</attr>
<attr value="sgrid">false</attr>
<attr value="sname">true</attr>
<attr value="sval">true</attr>
<attr value="sanim">true</attr>
<attr value="sstacked">false</attr>
<attr value="saxes">false</attr>
<attr value="slog">false</attr>
<attr value="aqua">None</attr>
<attr value="cview">Column</attr>
<attr value="is3d">0</attr>
<attr value="isstacked">0</attr>
<attr value="linestyle">0</attr>
<attr value="autoupdate">0</attr>
<attr value="autoupmin">5</attr>
<attr value="cscroll">true</attr>
<attr value="maxbarscroll">10</attr>
</attr>

<attr value="fields">
	<attr value="0">
		<attr value="name">id</attr>
		<attr value="label">Id</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="1">
		<attr value="name">place</attr>
		<attr value="label">Place</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="2">
		<attr value="name">shipment_date</attr>
		<attr value="label">Shipment Date</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="3">
		<attr value="name">buyer_id</attr>
		<attr value="label">Buyer</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="4">
		<attr value="name">name</attr>
		<attr value="label">Name</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="5">
		<attr value="name">order_no</attr>
		<attr value="label">Order No</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="6">
		<attr value="name">consignee_id</attr>
		<attr value="label">Consignee</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="7">
		<attr value="name">shipment_pack_details</attr>
		<attr value="label">Shipment Pack Details</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="8">
		<attr value="name">marks</attr>
		<attr value="label">Marks</attr>
		<attr value="search"></attr>
	</attr>
	<attr value="9">
		<attr value="name">ref_id</attr>
		<attr value="label">Ref Id</attr>
		<attr value="search"></attr>
	</attr>
</attr>


<attr value="settings">
<attr value="name">id</attr>
<attr value="short_table_name">packing_lists_Chart</attr>
</attr>

</chart>';
	
$tables_data["packing_lists Chart"]=&$tdatapacking_lists_Chart;
$field_labels["packing_lists_Chart"] = &$fieldLabelspacking_lists_Chart;
$fieldToolTips["packing_lists Chart"] = &$fieldToolTipspacking_lists_Chart;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["packing_lists Chart"] = array();

	
// tables which are master tables for current table (detail)
$masterTablesData["packing_lists Chart"] = array();

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "id,   place,   shipment_date,   buyer_id,   name,   order_no,   consignee_id,   shipment_pack_details,   marks,   ref_id";
$proto0["m_strFrom"] = "FROM packing_lists";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
$proto0["m_strTail"] = "";
$proto1=array();
$proto1["m_sql"] = "";
$proto1["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto1["m_column"]=$obj;
$proto1["m_contained"] = array();
$proto1["m_strCase"] = "";
$proto1["m_havingmode"] = "0";
$proto1["m_inBrackets"] = "0";
$proto1["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto1);

$proto0["m_where"] = $obj;
$proto3=array();
$proto3["m_sql"] = "";
$proto3["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto3["m_column"]=$obj;
$proto3["m_contained"] = array();
$proto3["m_strCase"] = "";
$proto3["m_havingmode"] = "0";
$proto3["m_inBrackets"] = "0";
$proto3["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto3);

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto5=array();
			$obj = new SQLField(array(
	"m_strName" => "id",
	"m_strTable" => "packing_lists"
));

$proto5["m_expr"]=$obj;
$proto5["m_alias"] = "";
$obj = new SQLFieldListItem($proto5);

$proto0["m_fieldlist"][]=$obj;
						$proto7=array();
			$obj = new SQLField(array(
	"m_strName" => "place",
	"m_strTable" => "packing_lists"
));

$proto7["m_expr"]=$obj;
$proto7["m_alias"] = "";
$obj = new SQLFieldListItem($proto7);

$proto0["m_fieldlist"][]=$obj;
						$proto9=array();
			$obj = new SQLField(array(
	"m_strName" => "shipment_date",
	"m_strTable" => "packing_lists"
));

$proto9["m_expr"]=$obj;
$proto9["m_alias"] = "";
$obj = new SQLFieldListItem($proto9);

$proto0["m_fieldlist"][]=$obj;
						$proto11=array();
			$obj = new SQLField(array(
	"m_strName" => "buyer_id",
	"m_strTable" => "packing_lists"
));

$proto11["m_expr"]=$obj;
$proto11["m_alias"] = "";
$obj = new SQLFieldListItem($proto11);

$proto0["m_fieldlist"][]=$obj;
						$proto13=array();
			$obj = new SQLField(array(
	"m_strName" => "name",
	"m_strTable" => "packing_lists"
));

$proto13["m_expr"]=$obj;
$proto13["m_alias"] = "";
$obj = new SQLFieldListItem($proto13);

$proto0["m_fieldlist"][]=$obj;
						$proto15=array();
			$obj = new SQLField(array(
	"m_strName" => "order_no",
	"m_strTable" => "packing_lists"
));

$proto15["m_expr"]=$obj;
$proto15["m_alias"] = "";
$obj = new SQLFieldListItem($proto15);

$proto0["m_fieldlist"][]=$obj;
						$proto17=array();
			$obj = new SQLField(array(
	"m_strName" => "consignee_id",
	"m_strTable" => "packing_lists"
));

$proto17["m_expr"]=$obj;
$proto17["m_alias"] = "";
$obj = new SQLFieldListItem($proto17);

$proto0["m_fieldlist"][]=$obj;
						$proto19=array();
			$obj = new SQLField(array(
	"m_strName" => "shipment_pack_details",
	"m_strTable" => "packing_lists"
));

$proto19["m_expr"]=$obj;
$proto19["m_alias"] = "";
$obj = new SQLFieldListItem($proto19);

$proto0["m_fieldlist"][]=$obj;
						$proto21=array();
			$obj = new SQLField(array(
	"m_strName" => "marks",
	"m_strTable" => "packing_lists"
));

$proto21["m_expr"]=$obj;
$proto21["m_alias"] = "";
$obj = new SQLFieldListItem($proto21);

$proto0["m_fieldlist"][]=$obj;
						$proto23=array();
			$obj = new SQLField(array(
	"m_strName" => "ref_id",
	"m_strTable" => "packing_lists"
));

$proto23["m_expr"]=$obj;
$proto23["m_alias"] = "";
$obj = new SQLFieldListItem($proto23);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto25=array();
$proto25["m_link"] = "SQLL_MAIN";
			$proto26=array();
$proto26["m_strName"] = "packing_lists";
$proto26["m_columns"] = array();
$proto26["m_columns"][] = "id";
$proto26["m_columns"][] = "place";
$proto26["m_columns"][] = "shipment_date";
$proto26["m_columns"][] = "buyer_id";
$proto26["m_columns"][] = "name";
$proto26["m_columns"][] = "order_no";
$proto26["m_columns"][] = "consignee_id";
$proto26["m_columns"][] = "shipment_pack_details";
$proto26["m_columns"][] = "marks";
$proto26["m_columns"][] = "ref_id";
$obj = new SQLTable($proto26);

$proto25["m_table"] = $obj;
$proto25["m_alias"] = "";
$proto27=array();
$proto27["m_sql"] = "";
$proto27["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto27["m_column"]=$obj;
$proto27["m_contained"] = array();
$proto27["m_strCase"] = "";
$proto27["m_havingmode"] = "0";
$proto27["m_inBrackets"] = "0";
$proto27["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto27);

$proto25["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto25);

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$obj = new SQLQuery($proto0);

$queryData_packing_lists_Chart = $obj;
$tdatapacking_lists_Chart[".sqlquery"] = $queryData_packing_lists_Chart;

$tableEvents["packing_lists Chart"] = new eventsBase;

?>
